import Vue from 'vue'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import App from './App.vue'
import router from './router'
import store from './store'

import user, {formatterMoney} from "@/test/test";

Vue.prototype.abc = formatterMoney;

Vue.use(ElementUI)
Vue.config.productionTip = false
//引入axios
import axios from "axios";
//全局挂载axios,这样在组件中就可以直接使用this.$axios
Vue.prototype.axios = axios;

import request from "@/network/request";

Vue.prototype.request = request;

new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')
